[INFO] cloning repository https://github.com/underwater-squad/cosom-ai-test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/underwater-squad/cosom-ai-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funderwater-squad%2Fcosom-ai-test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funderwater-squad%2Fcosom-ai-test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ab88af49e5ac645288efe1626e41d54a200f87d4
[INFO] building underwater-squad/cosom-ai-test against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funderwater-squad%2Fcosom-ai-test" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/underwater-squad/cosom-ai-test on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-1/source/.cargo/config
[INFO] started tweaking git repo https://github.com/underwater-squad/cosom-ai-test
[INFO] finished tweaking git repo https://github.com/underwater-squad/cosom-ai-test
[INFO] tweaked toml for git repo https://github.com/underwater-squad/cosom-ai-test written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/underwater-squad/cosom-ai-test already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d4cfb50d1c663179789b25d3985270fef0ad2ea1310abbcc60cac295139742a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9d4cfb50d1c663179789b25d3985270fef0ad2ea1310abbcc60cac295139742a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d4cfb50d1c663179789b25d3985270fef0ad2ea1310abbcc60cac295139742a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d4cfb50d1c663179789b25d3985270fef0ad2ea1310abbcc60cac295139742a", kill_on_drop: false }`
[INFO] [stdout] 9d4cfb50d1c663179789b25d3985270fef0ad2ea1310abbcc60cac295139742a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2634d3a104837234d9cde5abd95869b66962e5a19af710d63f58b015f36ad556
[INFO] running `Command { std: "docker" "start" "-a" "2634d3a104837234d9cde5abd95869b66962e5a19af710d63f58b015f36ad556", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.46
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]    Compiling schemars v0.7.6
[INFO] [stderr]    Compiling postcard-cobs v0.1.5-pre
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling serde_derive_internals v0.25.0
[INFO] [stderr]    Compiling schemars_derive v0.7.6
[INFO] [stderr]    Compiling snafu-derive v0.6.9
[INFO] [stderr]    Compiling thiserror-impl v1.0.21
[INFO] [stderr]    Compiling thiserror v1.0.21
[INFO] [stderr]    Compiling snafu v0.6.9
[INFO] [stderr]    Compiling serde-json-wasm v0.2.1
[INFO] [stderr]    Compiling postcard v0.5.1
[INFO] [stderr]    Compiling cosmwasm-std v0.11.1
[INFO] [stderr]    Compiling cosmwasm-storage v0.11.1
[INFO] [stderr]    Compiling cosom-ai-test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `HumanAddr`, `InitResult`
[INFO] [stdout]  --> src/contract.rs:2:72
[INFO] [stdout]   |
[INFO] [stdout] 2 |     to_binary, Api, Binary, Env, Extern, HandleResponse, HandleResult, HumanAddr, InitResponse,
[INFO] [stdout]   |                                                                        ^^^^^^^^^
[INFO] [stdout] 3 |     InitResult, Querier, StdError, StdResult, Storage,MessageInfo
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::ContractError`
[INFO] [stdout]  --> src/contract.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::error::ContractError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `activation::Activation`, `cost::CostFunctionArgu`
[INFO] [stdout]   --> src/contract.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     cost::CostFunctionArgu,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     activation::Activation
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CanonicalAddr`
[INFO] [stdout]  --> src/state.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cosmwasm_std::{CanonicalAddr, Storage};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReadonlySingleton`, `Singleton`, `singleton_read`, `singleton`
[INFO] [stdout]  --> src/state.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 |     bucket, bucket_read, singleton, singleton_read, 
[INFO] [stdout]   |                          ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     Bucket, ReadonlyBucket, ReadonlySingleton,Singleton,
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^ ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `activation::ActivationKind`, `activation::Activation`
[INFO] [stdout]  --> src/engine/nl.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     activation::Activation,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     activation::ActivationKind,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `schemars::JsonSchema`
[INFO] [stdout]  --> src/engine/cost/squared_error.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use schemars::JsonSchema;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]  --> src/engine/utils.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Serialize,Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `deps`
[INFO] [stdout]   --> src/contract.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     deps: &mut Extern<S, A, Q>,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_deps`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]   --> src/contract.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     info: MessageInfo,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/contract.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     msg: InitMsg,
[INFO] [stdout]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]   --> src/contract.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     info: MessageInfo,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api`
[INFO] [stdout]    --> src/contract.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let api = deps.api;
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_s`
[INFO] [stdout]    --> src/contract.rs:168:10
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let (in_s,out_s) = (size.0 as usize, size.1 as usize);
[INFO] [stdout]     |          ^^^^ help: if this is intentional, prefix it with an underscore: `_in_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out_s`
[INFO] [stdout]    --> src/contract.rs:168:15
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let (in_s,out_s) = (size.0 as usize, size.1 as usize);
[INFO] [stdout]     |               ^^^^^ help: if this is intentional, prefix it with an underscore: `_out_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/contract.rs:208:9
[INFO] [stdout]     |
[INFO] [stdout] 208 |     let mut ns= neuralnetwork(&mut deps.storage).may_load(key.as_bytes())?; 
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/engine/matrix.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut key = vec![0u8;m*n];
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/engine/nn.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn new()-> Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_on_error`
[INFO] [stdout]   --> src/engine/nn.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn set_on_error<F>(&mut self,func: F)
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_on_epoch`
[INFO] [stdout]   --> src/engine/nn.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn set_on_epoch<F>(&mut self,func: F)
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 18s
[INFO] running `Command { std: "docker" "inspect" "2634d3a104837234d9cde5abd95869b66962e5a19af710d63f58b015f36ad556", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2634d3a104837234d9cde5abd95869b66962e5a19af710d63f58b015f36ad556", kill_on_drop: false }`
[INFO] [stdout] 2634d3a104837234d9cde5abd95869b66962e5a19af710d63f58b015f36ad556
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 0a98502004098bb6ccbf4bcdd52811d568c4adf94e363b5e06079a82fd25bba7
[INFO] running `Command { std: "docker" "start" "-a" "0a98502004098bb6ccbf4bcdd52811d568c4adf94e363b5e06079a82fd25bba7", kill_on_drop: false }`
[INFO] [stderr]    Compiling cosmwasm-schema v0.11.1
[INFO] [stdout] warning: unused imports: `HumanAddr`, `InitResult`
[INFO] [stdout]  --> src/contract.rs:2:72
[INFO] [stdout]   |
[INFO] [stdout] 2 |     to_binary, Api, Binary, Env, Extern, HandleResponse, HandleResult, HumanAddr, InitResponse,
[INFO] [stdout]   |                                                                        ^^^^^^^^^
[INFO] [stdout] 3 |     InitResult, Querier, StdError, StdResult, Storage,MessageInfo
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::ContractError`
[INFO] [stdout]  --> src/contract.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::error::ContractError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `activation::Activation`, `cost::CostFunctionArgu`
[INFO] [stdout]   --> src/contract.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     cost::CostFunctionArgu,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     activation::Activation
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CanonicalAddr`
[INFO] [stdout]  --> src/state.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cosmwasm_std::{CanonicalAddr, Storage};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReadonlySingleton`, `Singleton`, `singleton_read`, `singleton`
[INFO] [stdout]  --> src/state.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 |     bucket, bucket_read, singleton, singleton_read, 
[INFO] [stdout]   |                          ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     Bucket, ReadonlyBucket, ReadonlySingleton,Singleton,
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^ ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `activation::ActivationKind`, `activation::Activation`
[INFO] [stdout]  --> src/engine/nl.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     activation::Activation,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     activation::ActivationKind,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `schemars::JsonSchema`
[INFO] [stdout]  --> src/engine/cost/squared_error.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use schemars::JsonSchema;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]  --> src/engine/utils.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Serialize,Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `deps`
[INFO] [stdout]   --> src/contract.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     deps: &mut Extern<S, A, Q>,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_deps`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]   --> src/contract.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     info: MessageInfo,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/contract.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     msg: InitMsg,
[INFO] [stdout]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]   --> src/contract.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     info: MessageInfo,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api`
[INFO] [stdout]    --> src/contract.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let api = deps.api;
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_s`
[INFO] [stdout]    --> src/contract.rs:168:10
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let (in_s,out_s) = (size.0 as usize, size.1 as usize);
[INFO] [stdout]     |          ^^^^ help: if this is intentional, prefix it with an underscore: `_in_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out_s`
[INFO] [stdout]    --> src/contract.rs:168:15
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let (in_s,out_s) = (size.0 as usize, size.1 as usize);
[INFO] [stdout]     |               ^^^^^ help: if this is intentional, prefix it with an underscore: `_out_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/contract.rs:208:9
[INFO] [stdout]     |
[INFO] [stdout] 208 |     let mut ns= neuralnetwork(&mut deps.storage).may_load(key.as_bytes())?; 
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/engine/matrix.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut key = vec![0u8;m*n];
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/engine/nn.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn new()-> Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_on_error`
[INFO] [stdout]   --> src/engine/nn.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn set_on_error<F>(&mut self,func: F)
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_on_epoch`
[INFO] [stdout]   --> src/engine/nn.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn set_on_epoch<F>(&mut self,func: F)
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling cosom-ai-test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `simple_option`
[INFO] [stdout]  --> examples/schema.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use simple_option::msg::{ModelResult, HandleMsg, InitMsg, QueryMsg};
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `simple_option`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `simple_option`
[INFO] [stdout]  --> examples/schema.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use simple_option::state::{NeuralStruct,DataCenter};
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `simple_option`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `InitMsg` in this scope
[INFO] [stdout]   --> examples/schema.rs:15:32
[INFO] [stdout]    |
[INFO] [stdout] 15 |     export_schema(&schema_for!(InitMsg), &out_dir);
[INFO] [stdout]    |                                ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use cosom_ai_test::msg::InitMsg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HandleMsg` in this scope
[INFO] [stdout]   --> examples/schema.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 |     export_schema(&schema_for!(HandleMsg), &out_dir);
[INFO] [stdout]    |                                ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  | use cosom_ai_test::msg::HandleMsg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `QueryMsg` in this scope
[INFO] [stdout]   --> examples/schema.rs:17:32
[INFO] [stdout]    |
[INFO] [stdout] 17 |     export_schema(&schema_for!(QueryMsg), &out_dir);
[INFO] [stdout]    |                                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  | use cosom_ai_test::msg::QueryMsg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NeuralStruct` in this scope
[INFO] [stdout]   --> examples/schema.rs:18:32
[INFO] [stdout]    |
[INFO] [stdout] 18 |     export_schema(&schema_for!(NeuralStruct), &out_dir);
[INFO] [stdout]    |                                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use cosom_ai_test::state::NeuralStruct;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DataCenter` in this scope
[INFO] [stdout]   --> examples/schema.rs:19:32
[INFO] [stdout]    |
[INFO] [stdout] 19 |     export_schema(&schema_for!(DataCenter), &out_dir);
[INFO] [stdout]    |                                ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use cosom_ai_test::state::DataCenter;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ModelResult` in this scope
[INFO] [stdout]   --> examples/schema.rs:20:32
[INFO] [stdout]    |
[INFO] [stdout] 20 |     export_schema(&schema_for!(ModelResult), &out_dir);
[INFO] [stdout]    |                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use cosom_ai_test::msg::ModelResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cosom-ai-test`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused imports: `HumanAddr`, `InitResult`
[INFO] [stdout]  --> src/contract.rs:2:72
[INFO] [stdout]   |
[INFO] [stdout] 2 |     to_binary, Api, Binary, Env, Extern, HandleResponse, HandleResult, HumanAddr, InitResponse,
[INFO] [stdout]   |                                                                        ^^^^^^^^^
[INFO] [stdout] 3 |     InitResult, Querier, StdError, StdResult, Storage,MessageInfo
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::ContractError`
[INFO] [stdout]  --> src/contract.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::error::ContractError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `activation::Activation`, `cost::CostFunctionArgu`
[INFO] [stdout]   --> src/contract.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     cost::CostFunctionArgu,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     activation::Activation
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/contract.rs:295:9
[INFO] [stdout]     |
[INFO] [stdout] 295 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `mock_dependencies`, `mock_env`, `mock_info`
[INFO] [stdout]    --> src/contract.rs:296:33
[INFO] [stdout]     |
[INFO] [stdout] 296 |     use cosmwasm_std::testing::{mock_dependencies, mock_env, mock_info};
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `coins`, `from_binary`
[INFO] [stdout]    --> src/contract.rs:297:24
[INFO] [stdout]     |
[INFO] [stdout] 297 |     use cosmwasm_std::{coins, from_binary};
[INFO] [stdout]     |                        ^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CanonicalAddr`
[INFO] [stdout]  --> src/state.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cosmwasm_std::{CanonicalAddr, Storage};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReadonlySingleton`, `Singleton`, `singleton_read`, `singleton`
[INFO] [stdout]  --> src/state.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 |     bucket, bucket_read, singleton, singleton_read, 
[INFO] [stdout]   |                          ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     Bucket, ReadonlyBucket, ReadonlySingleton,Singleton,
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^ ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Activation`
[INFO] [stdout]   --> src/engine/activation/sigmoid.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     use super::Activation;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Sigmoid`
[INFO] [stdout]   --> src/engine/activation/sigmoid.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     use super::Sigmoid;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Activation`
[INFO] [stdout]   --> src/engine/activation/identity.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     use super::Activation;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Activation`
[INFO] [stdout]   --> src/engine/activation/hyperbolictangent.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     use super::Activation;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Activation`
[INFO] [stdout]   --> src/engine/activation/softplus.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     use super::Activation;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Activation`
[INFO] [stdout]   --> src/engine/activation/softmax.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     use super::Activation;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::SoftMax`
[INFO] [stdout]   --> src/engine/activation/softmax.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     use super::SoftMax;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Activation`
[INFO] [stdout]   --> src/engine/activation/rectifiedlinearunit.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     use super::Activation;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::RectifiedLinearUnit`
[INFO] [stdout]   --> src/engine/activation/rectifiedlinearunit.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     use super::RectifiedLinearUnit;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Activation`
[INFO] [stdout]   --> src/engine/activation/leakyrectifiedlinearunit.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     use super::Activation;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `activation::ActivationKind`, `activation::Activation`
[INFO] [stdout]  --> src/engine/nl.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     activation::Activation,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     activation::ActivationKind,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::engine::nl::NeuralLayer`
[INFO] [stdout]   --> src/engine/nl.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     use crate::engine::nl::NeuralLayer;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::engine::matrix::MatrixTrait`
[INFO] [stdout]   --> src/engine/nl.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     use crate::engine::matrix::MatrixTrait;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::engine::activation::Sigmoid`
[INFO] [stdout]   --> src/engine/nl.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     use crate::engine::activation::Sigmoid;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::engine::activation::Sigmoid`
[INFO] [stdout]    --> src/engine/nn.rs:299:9
[INFO] [stdout]     |
[INFO] [stdout] 299 |     use crate::engine::activation::Sigmoid;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::engine::activation::SoftMax`
[INFO] [stdout]    --> src/engine/nn.rs:300:9
[INFO] [stdout]     |
[INFO] [stdout] 300 |     use crate::engine::activation::SoftMax;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::engine::activation::HyperbolicTangent`
[INFO] [stdout]    --> src/engine/nn.rs:301:9
[INFO] [stdout]     |
[INFO] [stdout] 301 |     use crate::engine::activation::HyperbolicTangent;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::engine::sample::Sample`
[INFO] [stdout]    --> src/engine/nn.rs:302:9
[INFO] [stdout]     |
[INFO] [stdout] 302 |     use crate::engine::sample::Sample;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::engine::nl::NeuralLayer`
[INFO] [stdout]    --> src/engine/nn.rs:303:9
[INFO] [stdout]     |
[INFO] [stdout] 303 |     use crate::engine::nl::NeuralLayer;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::engine::nn::NeuralNetwork`
[INFO] [stdout]    --> src/engine/nn.rs:304:9
[INFO] [stdout]     |
[INFO] [stdout] 304 |     use crate::engine::nn::NeuralNetwork;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::engine::matrix::MatrixTrait`
[INFO] [stdout]    --> src/engine/nn.rs:305:9
[INFO] [stdout]     |
[INFO] [stdout] 305 |     use crate::engine::matrix::MatrixTrait;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::engine::cost::cross_entropy::CrossEntropy`
[INFO] [stdout]    --> src/engine/nn.rs:306:9
[INFO] [stdout]     |
[INFO] [stdout] 306 |     use crate::engine::cost::cross_entropy::CrossEntropy;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::engine::nn::BlackBox`
[INFO] [stdout]    --> src/engine/nn.rs:307:9
[INFO] [stdout]     |
[INFO] [stdout] 307 |     use crate::engine::nn::BlackBox;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/engine/sample.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `schemars::JsonSchema`
[INFO] [stdout]  --> src/engine/cost/squared_error.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use schemars::JsonSchema;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]  --> src/engine/utils.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Serialize,Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `deps`
[INFO] [stdout]   --> src/contract.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     deps: &mut Extern<S, A, Q>,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_deps`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]   --> src/contract.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     info: MessageInfo,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/contract.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     msg: InitMsg,
[INFO] [stdout]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]   --> src/contract.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     info: MessageInfo,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api`
[INFO] [stdout]    --> src/contract.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let api = deps.api;
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_s`
[INFO] [stdout]    --> src/contract.rs:168:10
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let (in_s,out_s) = (size.0 as usize, size.1 as usize);
[INFO] [stdout]     |          ^^^^ help: if this is intentional, prefix it with an underscore: `_in_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out_s`
[INFO] [stdout]    --> src/contract.rs:168:15
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let (in_s,out_s) = (size.0 as usize, size.1 as usize);
[INFO] [stdout]     |               ^^^^^ help: if this is intentional, prefix it with an underscore: `_out_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test`
[INFO] [stdout]    --> src/engine/matrix.rs:180:13
[INFO] [stdout]     |
[INFO] [stdout] 180 |         let test = Matrix::random(2, 2);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `activation`
[INFO] [stdout]   --> src/engine/activation/identity.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let activation = Identity::new();
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `activation`
[INFO] [stdout]   --> src/engine/activation/identity.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let activation = Identity::new();
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `activation`
[INFO] [stdout]   --> src/engine/activation/hyperbolictangent.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let activation = HyperbolicTangent::new();
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `activation`
[INFO] [stdout]   --> src/engine/activation/hyperbolictangent.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let activation = HyperbolicTangent::new();
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `activation`
[INFO] [stdout]   --> src/engine/activation/softplus.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let activation = SoftPlus::new();
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `activation`
[INFO] [stdout]   --> src/engine/activation/softplus.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let activation = SoftPlus::new();
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `activation`
[INFO] [stdout]   --> src/engine/activation/leakyrectifiedlinearunit.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let activation = LeakyRectifiedLinearUnit::new(0.01f64);
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `activation`
[INFO] [stdout]   --> src/engine/activation/leakyrectifiedlinearunit.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let activation = LeakyRectifiedLinearUnit::new(0.01f64);
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/engine/cost/cross_entropy.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let result = cross_entropy.calc(
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/engine/cost/cross_entropy.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let result = cross_entropy.calc(
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/contract.rs:208:9
[INFO] [stdout]     |
[INFO] [stdout] 208 |     let mut ns= neuralnetwork(&mut deps.storage).may_load(key.as_bytes())?; 
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/engine/matrix.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut key = vec![0u8;m*n];
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/engine/nn.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn new()-> Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_on_error`
[INFO] [stdout]   --> src/engine/nn.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn set_on_error<F>(&mut self,func: F)
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_on_epoch`
[INFO] [stdout]   --> src/engine/nn.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn set_on_epoch<F>(&mut self,func: F)
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 57 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "0a98502004098bb6ccbf4bcdd52811d568c4adf94e363b5e06079a82fd25bba7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a98502004098bb6ccbf4bcdd52811d568c4adf94e363b5e06079a82fd25bba7", kill_on_drop: false }`
[INFO] [stdout] 0a98502004098bb6ccbf4bcdd52811d568c4adf94e363b5e06079a82fd25bba7
